const task = [
  {
    path: '/task',
    name: 'task',
    component: () => import('@/pages/Task/Task'),
    meta: {
      chineseName: '任务库',
      title: '任务库'
    }
  },
  {
    path: '/taskdetail',
    name: 'taskdetail',
    redirect: '/taskdetail/taskinfo',
    component: () => import('@/pages/TaskDetail'),
    children: [
      {
        path: '/taskdetail/taskinfo',
        name: 'taskinfo',
        meta: {
          chineseName: '任务库详情',
          title: '任务库详情'
        },
        component: () =>
          import('@/pages/TaskDetail/components/taskInfo/TaskInfo')
      },
      {
        path: '/taskdetail/tasktodo',
        name: 'tasktodo',
        meta: {
          chineseName: '任务库开始',
          title: '任务库开始'
        },
        component: () =>
          import('@/pages/TaskDetail/components/taskTodo/TaskTodo')
      },
      {
        path: '/taskdetail/taskend',
        name: 'taskend',
        meta: {
          chineseName: '任务库结束',
          title: '任务库结束'
        },
        component: () =>
          import('@/pages/TaskDetail/components/taskTodo/TaskEnd')
      },
      {
        path: '/taskdetail/taskuserpart',
        name: 'taskuserpart',
        meta: {
          chineseName: '参与人列表',
          title: '参与人列表'
        },
        component: () =>
          import('@/pages/TaskDetail/components/taskUserPart/TaskUserPart')
      },
      {
        path: '/taskdetail/implement',
        name: 'implement',
        meta: {
          chineseName: '任务情况',
          title: '任务情况'
        },
        component: () =>
          import('@/pages/TaskDetail/components/implement/Implement')
      },
      {
        path: '/taskdetail/implement/info',
        name: 'implementInfo',
        meta: {
          chineseName: '任务详细',
          title: '任务详细'
        },
        component: () =>
          import('@/pages/TaskDetail/components/implementInfo/ImplementInfo')
      }
    ]
  }
];

export default task;
